package com.dongdongshop.pojo.evaluate;


import java.io.Serializable;
import java.util.Date;

/**
 *商品评论
 * @Author Eayon
 * @Date 2020/3/20 20:05
 */
public class Evaluate implements Serializable {

    private Integer id;
    private Long userId;
    private String username;
    private Long score;
    private String content;
    private Long goodsId;
    private String title;
    private String spec;
    private Date createTime;
    private Long likeNum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Long likeNum) {
        this.likeNum = likeNum;
    }

    @Override
    public String toString() {
        return "Evaluate{" +
                "id=" + id +
                ", userId=" + userId +
                ", username='" + username + '\'' +
                ", score=" + score +
                ", content='" + content + '\'' +
                ", goodsId=" + goodsId +
                ", title='" + title + '\'' +
                ", spec='" + spec + '\'' +
                ", createTime=" + createTime +
                ", likeNum=" + likeNum +
                '}';
    }
}
